.preview {
    height: calc(45% - 20px);
    border: 2px solid #303540;
    border-radius: 5px;
    margin: 10px;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.preview img {
    display: block;
    background: white;
    border: 2px solid #303540;
    border-radius: 3px;
    width: calc(100% - 25px);
    height: calc(100% - 145px);
    margin: 10px;
}

.preview select {
    display: block;
    width: calc(100% - 45px);
    margin: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.preview .buttons {
    position: absolute;
    display: block;
    width: calc(100% - 45px);
    left: 50%;
    transform: translate(-50%,0);
    bottom: 25px;
}